/*
 * author      : dormi330
 * date        : 2018/6/27
 * description : TODO
 */

package com.deep.trade.order.dto;

import java.util.ArrayList;
import java.util.List;

public class OutDtoTradeOrderWithSku extends OutDtoTradeOrder {

    private List<OutDtoOrderSku> skuList;

    public List<OutDtoOrderSku> getSkuList() {
        return skuList;
    }

    public void setSkuList(List<OutDtoOrderSku> skuList) {
        this.skuList = skuList;
    }

    public void addOutDtoOrderSku(OutDtoOrderSku outDtoOrderSku) {
        if (null == skuList) {
            skuList = new ArrayList<>();
        }
        skuList.add(outDtoOrderSku);
    }
}
